import request from '@/utils/request'
export function getAreaListAPI(obj){
    return request({
        url:'/parking/area/list',
        method:'GET',
        params: obj
    })
}

export function addAreaListAPI(obj){
    return request({
        url:'/parking/area',
        method:'POST',
        data:obj
    })
}

export function editAreaListAPI(obj){
    return request({
        url:'/parking/area',
        method:'PUT',
        data:obj

    })

}

export function delAreaListAPI(id){
    return request({
        url:'/parking/area/' + id,
        method:'DELETE'
    })
}